﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace TE3
{
	public class TE3Game : Game
	{
		public List<IThinkable> ThinkableList;
		public EntityManager EntityManager;
		public WindowManager WindowManager;
		public TextureHandler TextureHandler;
		public ConsoleCommands ConsoleCommands;
		public SpriteBatch SpriteBatch;
		public DrawManager DrawManager;
		public FontManager FontManager;
		public GraphicsDeviceManager Graphics;
		public Map CurrentMap;
		public void TE3Init()
		{
			base.Initialize();
			Console.WriteLine("Initialization started");
			Graphics = new GraphicsDeviceManager(this);
			TextureHandler = new TextureHandler(this);
			ThinkableList = new List<IThinkable>();
			EntityManager = new EntityManager(this);
			WindowManager = new WindowManager(this);
			DrawManager = new DrawManager();
			FontManager = new FontManager(this);
			ConsoleCommands = new ConsoleCommands(this);
		}
	}

}
